FindResult Properties

Properties

Cell Gets the cell the match belongs to or null if the match does not belong to a cell.
Comment Gets the comment the match belongs to or null if the match does not belong to a comment.
Element Gets the object holding the matched text, for example a Cell or a Run.
HostText Gets the whole text of the cell, comment, header, footer or shape paragraph the match belongs to.
Length Gets the number of matched characters.
Run Gets the first run of the match or null if the matched text is not stored in runs.
Runs Gets all runs the match spans.
Sheet Gets the sheet the match belongs to.
Start Gets the index of the match in the text of the cell, comment, header, footer or shape paragraph.
Story Gets the part of the workbook the match was found in.
Text Gets the matched text.
Worksheet Gets the worksheet the match belongs to or null if the match does not belong to a worksheet.

See Also